module.exports = {
  lintOnSave: false,
  // 关闭sourcemap
  productionSourceMap: false,
  // 代理跨域
  devServer: {
    open: true,
    port: 8081,
    proxy: {
      '/api': {
        target: 'http://gmall-h5-api.atguigu.cn',
        // pathRewrite: { '^/api': '' }
      }
    }
  }
}
